package com.example.music_mediaplayer.model;

import java.util.List;

/**
 * Created by quan on 2018/1/5.
 */

public class JsonBase {
//    private String status;
    private String code;
    private Result result;
    private List<Data> data;
    private List<AbsList> abslist;
    private String RN;
    private String PN;
//    public void setStatus(String status){ this.status = status ; }
//    public String getStatus(){return status ; }
    public void setRN(String RN){
        this.RN = RN;
    }
    public String getRN(){
        return RN;
    }
    public void setPN(String PN){
        this.PN = PN;
    }
    public String getPN(){
        return PN;
    }

    public void setAbslist(List<AbsList> abslist){
        this.abslist = abslist;
    }
    public List<AbsList> getAbslist(){
        return abslist;
    }

    public void setData(List<Data> data){
        this.data = data;
    }
    public List<Data> getData(){
        return data;
    }
    public void setCode(String code){
        this.code = code;
    }
    public String getCode(){
        return code;
    }
    public void setResult(Result result){
        this.result = result;
    }
    public Result getResult(){
        return result;
    }

    public class AbsList{
        private String MUSICRID;
        private String SONGNAME;
        private String ARTIST;

        public void setMUSICRID(String MUSICRID){
            this.MUSICRID = MUSICRID;
        }
        public String getMUSICRID(){
            return MUSICRID;
        }
        public void setSONGNAME(String SONGNAME){
            this.SONGNAME = SONGNAME;
        }
        public String getSONGNAME(){
            return SONGNAME;
        }
        public void setARTIST(String ARTIST){
            this.ARTIST = ARTIST;
        }
        public String getARTIST(){
            return ARTIST;
        }
    }

    public class Data{
        private String url;

        public void setUrl(String url){
            this.url = url;
        }
        public String getUrl(){
            return url;
        }
    }

    public class Result{
        private String songCount;
        private List<SongsList> songs;

        public void setSongCount(String songCount){
            this.songCount = songCount;
        }
        public String getSongCount(){
            return songCount;
        }
        public void setSongs(List<SongsList> songs){
            this.songs = songs;
        }
        public List<SongsList> getSongs(){
            return songs;
        }

        public class SongsList{
            private String name;
            private String id;
            private List<Artist> ar;
            private Al al;
            public void setAl(Al al){ this.al = al ;}
            public Al getAl(){return al;}
            public void setName(String name){
                this.name = name;
            }
            public String getName(){
                return name;
            }
            public void setId(String id){
                this.id = id;
            }
            public String getId(){
                return id;
            }
            public void setAr(List<Artist> ar){
                this.ar = ar;
            }
            public List<Artist> getAr(){
                return ar;
            }

            public class Al{
                private String picUrl;
                public void setPicUrl(String picUrl){this.picUrl = picUrl;}
                public String getPicUrl(){return picUrl;}
            }

            public class Artist{
                private String name ;
                public void setName(String name){
                    this.name = name;
                }
                public String getName(){
                    return name;
                }
            }
        }
    }
}
